package com.xiaoshuidi.cloud.module.contract.controller.admin.contract.vo.company;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xiaoshuidi.cloud.framework.common.util.date.DateUtils;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDate;

import static com.xiaoshuidi.cloud.framework.common.util.date.DateUtils.TIME_ZONE_DEFAULT;

/**
 * 租客合同导出 VO
 */
@Data
public class CompanySonsContractListExcelVO {


    @ExcelProperty("状态")
    private String contractStatusName;

    @ExcelProperty("合同类型")
    private String contractSort;

    @ExcelProperty("来源")
    private String contractNode;

    @ExcelProperty("合同编号")
    private String contractNo;

    @ExcelProperty("房源")
    private String fullRoomName;

    @ExcelProperty("租客姓名")
    private String customerName;

    @ExcelProperty("租客手机号")
    private String customerPhone;

    @ExcelProperty("合同开始日")
    private LocalDate startTime;

    @ExcelProperty("合同结束日")
    private LocalDate endTime;

    @ExcelProperty("租期")
    private String tenancyTerm;

    @ExcelProperty("企业名称")
    private String companyName;

    @ExcelProperty("租金")
    private BigDecimal monthRent;

    @ExcelProperty("付款方式")
    private String payMethodYStr;

    @ExcelProperty("录入时间")
    private LocalDate createTime;

    @ExcelProperty("最后修改时间")
    private LocalDate updateTime;

    @ExcelProperty("是否换房")
    private String isExchange;


    @ExcelIgnore
    private Integer recordStatus;

    @ExcelProperty("是否备案")
    private String recordStatusStr;


}
